﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.WorkflowCore
{
    public class StateCollection
    {
        private List<State> _list;

        public StateCollection()
        {
            _list = new List<State>();
        }

        public int Count
        {
            get
            {
                return _list.Count;
            }
        }

        public State this[int index]
        {
            get
            {
                return _list[index];
            }
        }

        public void Add(State state)
        {
            _list.Add(state);
        }

        public void Remove(State state)
        {
            _list.Remove(state);
        }
    }
}
